<!--
 * @Description: 404页面
 * @Version: 1.0
 * @Autor: wq
 * @Date: 2021-08-04 20:41:34
 * @LastEditors: wq
 * @LastEditTime: 2021-08-04 20:59:20
 * @FilePath: \vue_project\mmpt\src\views\NotFound\index.vue
-->
<template>
  <div class="not-found-page">
    <div class="head404"></div>

    <div class="txtbg404">
      <div class="txtbox">
        <p>对不起，您请求的页面不存在、或已被删除、或暂时不可用</p>
        <p class="paddingbox">请点击以下链接继续浏览网页</p>
        <p>
          》<a style="cursor:pointer" @click="$router.back()">返回上一页面</a>
        </p>
        <p>》<a @click="$router.replace('/')">返回网站首页</a></p>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.not-found-page {
  width: 100vw;
  height: 100vh;
  background-color: #494949;
  overflow: hidden;
  .head404 {
    width: 580px;
    height: 234px;
    margin: 50px auto 0;
    // background: url(https://www.daixiaorui.com/Public/images/head404.png) no-repeat;
    background: url('../../assets/images/head404.png') no-repeat;
  }

  .txtbg404 {
    width: 499px;
    height: 169px;
    margin: 10px auto 0 auto;
    // background: url(https://www.daixiaorui.com/Public/images/txtbg404.png) no-repeat;
    background: url('../../assets/images/txtbg404.png') no-repeat;
    .txtbox {
      width: 390px;
      position: relative;
      top: 30px;
      left: 60px;
      color: #eee;
      font-size: 13px;
      p {
        margin: 5px 0;
        line-height: 18px;
        a {
          color: #eee;
          text-decoration: none;
          &:hover {
            color: #fc9d1d;
            text-decoration: underline;
          }
        }
      }
      .paddingbox {
        padding-top: 15px;
      }
    }
  }
}
</style>
